<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<script  src="__JS__/jquery.js"> </script>
	<link href="__CSS__/admin/admin.css" rel="stylesheet" type="text/css"></link>
	<script type="text/javascript">
		$(function(){
			$('#loginbt').click(function(){
				$name=$('.name').val();
				$password=$('.password').val();
				if($name==''||$password==''){
					alert("请输入用户名和密码");
					return false;
				}
			})
		})
	</script>
	<title></title>
</head>
<body style="background: #DAE4E5">

	<div id="login">
		<form action="{:U('admin/Index/index')}" method="post" >
		<div class="first">Login</div>
			<div>用户名: <input type="text" name="name" class="name" /></div>
			<div>&nbsp;&nbsp;&nbsp;密码: <input type="password" name="password" class="password" /></div>
			<input  type="submit" value="登陆" id="loginbt" />
		</form>
	</div>
</body>
</html>